<h3>Manage plugins</h3>
<?php $this->widget('application.extensions.grid.FGridView', array(
    'id'=>'plugin-grid',
    'bulkOptions'=>array(
        'actions' => array(
            'Enable' => array('Enable', $this->createUrl('bulk')),
            'Disable' => array('Disable', $this->createUrl('bulk')),
        ),
    ),
    'dataProvider'=>$model->listPlugins(),
    'columns'=>array(
        array(
            'class'=>'CCheckBoxColumn',
            'name'=>'Id',
            'value'=>'$data->Id',
        ),
        array(
            'name'=>'Event',
            'type'=>'raw',
            'value'=>'$data->Event',
            'htmlOptions'=>array('class'=>'alignLeft'),
        ),
        array(
            'name'=>'Class',
            'type'=>'raw',
            'value'=>'$data->Class',
            'htmlOptions'=>array('class'=>'alignLeft'),
        ),
        array(
            'name'=>'Method',
            'type'=>'raw',
            'value'=>'$data->Method',
            'htmlOptions'=>array('class'=>'alignLeft'),
        ),
        array(
            'name'=>'Status',
            'type'=>'raw',
            'value'=>'empty($data->Enabled)?"Disabled":"Enabled"',
        ),
    )
));?>
